<template>
  <div>
    <div id="login">
      <div class="login-content">
        
        <div class="login-left-top">
          <img
            class="auth-img"
            src="@/../static/images/common/rightbottom.png"
          />
        </div>
        <div class="login-right-bottom"></div>
        <div class="login-right">
          <div>
            <span style="color: red;position:absolute;">{{ message }}</span>
            <div class="login-item">
              <i class="layui-icon-username"></i>

              <input
                class="loginInput"
                ref="user"
                name="username"
                placeholder="请输入用户名"
                type="text"
              />
            </div>
            <div class="login-item">
              <i class="layui-icon-password"></i>
              <input
                class="loginInput"
                ref="passw"
                name="password"
                placeholder="请输入密码"
                type="password"
              />
            </div>
            <button @click="submit()" id="my_button">登录</button>
          </div>
        </div>
      </div>
    </div>
    <p class="center">技术支持：广州德亨信息技术有限公司</p>
  </div>
</template>


<script>
export default {
  data() {
    return {
      message: ""
    };
  },
  methods: {
    submit() {}
  },
  beforeCreate() {},
  beforeDestroy() {}
};
</script>
<style lang="scss" scoped>
.index-title {
  display: block;
  width: 806px;
  margin: 70px auto;
}
#login .login-content {
  background-size: 1200px;
  height: 702px;
  width: 1200px;
  margin: 0 auto;
  position: relative;
}
.login-top {
  width: 627px;
  display: block;
  margin: 0 auto;
}
#login .login-right {
  width: 342px;
  margin: 0 auto;
  border-radius: 10px;
  padding: 10px 30px;
}
#login {
  width: 100%;
}
.login-item {
  position: relative;
}
.login-left-top {
  width: 176px;
  height: 176px;
  top: 0px;
  margin-left: calc(50% - 90px);
  -ms-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  animation: rotation 8s linear infinite;
  -moz-animation: rotation 8s linear infinite;
  -webkit-animation: rotation 8s linear infinite;
  -o-animation: rotation 8s linear infinite;
  .auth-img {
    display: inline-block;
    width: 176px;
    height: 176px;
  }
}
.login-right-bottom {
  width: 155px;
  height: 155px;
  position: absolute;
  bottom: -60px;
  right: -55px;
  -webkit-transform: rotate(0deg);
  animation: rotatio 8s linear infinite;
  -moz-animation: rotatio 8s linear infinite;
  -webkit-animation: rotatio 8s linear infinite;
  -o-animation: rotatio 8s linear infinite;
}
@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
  }
}
@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
  }
}
@keyframes rotatio {
  from {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
  }
  to {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
  }
}
@-webkit-keyframes rotatio {
  from {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
  }
  to {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
  }
}
.loginInput {
  border: 2px solid #95e0fd;
  line-height: 40px;
  height: 40px;
  width: 100%;
  margin-top: 20px;
  color: #fff;
  padding-left: 50px;
  background: rgba(0, 0, 0, 0.1);
}
#my_button {
  width: 143px;
  height: 67px;
  line-height: 67px;
  border: none;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  display: block;
  font-size: 17px;
  margin: 0 auto;
  margin-top: 50px;
}

.login-item i {
  position: absolute;
  top: 23px;
  width: 42px;
  height: 39px;
}
p.center {
  line-height: 65px;
  color: #999;
  margin-top: 80px;
}
.center {
  text-align: center;
}
</style>
